Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update documentation according to FunC v0.5.0 #631

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from
Draft

Conversation

unserialize
Copy link

@unserialize unserialize commented Jun 14, 2024

This MR updates documentation according to FunC v0.5.0.

When ton-blockchain/ton#1026 is merged, this MR will become non-draft

What changes were made to the documentation

  • updated grammar in prism-func.js for new keywords and // comments
  • all comments were replaced from ;; {- -} to // /* */ in all code snippets
  • rewritten a part about function specifiers (impure by default, pure keyword, get methods)
  • dropped impure from all code snippets, added pure to stdlib where necessary
  • replaced method_id with get in all code snippets
  • enumerated all built-in functions in stdlib with builtin keyword, dropped "built-ins" page
  • deprecated two pragmas, added remove-unused-functions
  • updated operators priority list
  • added changelog and migration guide (from v0.4.x to v0.5.0)

Though I've made changes to code snippets in Chinese translation, but I didn't translate added/edited contents. It means, that if we want to keep Mandarin version up to date, all changes from this PR should be mirrored and translated.

Fixes #563

@reveloper
Copy link
Contributor

Though I've made changes to code snippets in Chinese translation, but I didn't translate added/edited contents. It means, that if we want to keep Mandarin version up to date, all changes from this PR should be mirrored and translated.

That's fine! We are working on localization updates separately so that you can avoid these remarks for other languages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing some FunC debug primitives description
2 participants